#ifndef DTWENTY_DEFINES_H
#define DTWENTY_DEFINES_H


#include "dtwenty_global.h"


#include <QObject>
#include <QCoreApplication>
#include <QMetaType>
#include <QPointer>


namespace dtwenty
{


//class DTWENTYSHARED_EXPORT DTwenty : public QObject
//{
//    Q_OBJECT

//    Q_ENUMS(Attribute)

//public:

//    enum Attribute
//    {
//        Strength = 0,
//        Dexterity,
//        Constitution,
//        Intelligence,
//        Wisdom,
//        Charisma
//    };

//    DTwenty* instance()
//    {
//        static QPointer<DTwenty> INSTANCE;
//        if (INSTANCE.isNull()) INSTANCE = new DTwenty();

//        return INSTANCE;
//    }

//private:

//    DTwenty() : QObject(QCoreApplication::instance())
//    {
//        qRegisterMetaType<Attribute>("Attribute");
//    }

//    Q_DISABLE_COPY(DTwenty)
//};

//Q_DECLARE_METATYPE(DTwenty::Attribute)

//enum Attribute
//{
//    Strength = 0,
//    Dexterity,
//    Constitution,
//    Intelligence,
//    Wisdom,
//    Charisma
//};

//Q_DECLARE_METATYPE(dtwenty::Attribute)


}



#endif // DTWENTY_DEFINES_H
